﻿using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 退款回复
    /// </summary>
    public class RefundResultDto
    {
        /// <summary>
        /// 业务类型：1场馆场地订单、5活动订单、10比赛订单
        /// </summary>
        public BusinessTypeEnum BusinessType { get; set; }

        /// <summary>
        /// 支付订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 退款申请金额/次数
        /// </summary>
        public decimal ApplyAmount { get; set; }

        /// <summary>
        /// 实际退款金额/次数
        /// </summary>
        public decimal RefundAmount { get; set; }

        /// <summary>
        /// 服务费/次数
        /// </summary>
        public decimal ServiceChargeAmount { get; set; }

        /// <summary>
        /// 第三方退款ID
        /// </summary>
        public string RefundId { get; set; }

        /// <summary>
        /// 退款单号
        /// </summary>
        public string RefundNo { get; set; }

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 退款说明
        /// </summary>
        public string RefundRemark { get; set; }

        /// <summary>
        /// 退款额外数据
        /// </summary>
        public string ExtJson { get; set; }
    }
}
